package com.test.langchain4j.service;

import reactor.core.publisher.Flux;

/**
 * Created with IntelliJ IDEA.
 *
 * @description:
 * @author: liuziyang
 * @since: 2025/7/31 14:25
 * @modifiedBy:
 * @version: 1.0
 */
public interface ChatAssistant {
  /**
   * Chat string.
   *
   * @param prompt the prompt
   * @return the string
   */
  String chat(String prompt);

  /**
   * Chat flux flux.
   *
   * @param prompt the prompt
   * @return the flux
   */
  Flux<String> chatFlux(String prompt);
}
